<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">

        <div class="layui-form-item" hidden>
            <label class="layui-form-label">店铺id</label>
            <div class="layui-input-block">
                <input type="text" name="id" class="layui-input" autocomplete="off" lay-verify="required"
                       placeholder="请输入店铺名称" value="{$row.id|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">店铺名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" class="layui-input" autocomplete="off" lay-verify="required"
                       placeholder="请输入店铺名称" value="{$row.name|default=''}" disabled>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">联系电话</label>
            <div class="layui-input-block">
                <input type="text" name="phone" class="layui-input" autocomplete="off" lay-verify="required" readonly
                       placeholder="请输入联系电话" value="{$row.phone|default=''}" disabled>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">发放积分总数</label>
            <div class="layui-input-block">
                <input type="text" name="points_one" class="layui-input" autocomplete="off" lay-verify="required"
                       placeholder="请输入积分1" value="{$send_num|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">获取积分总数</label>
            <div class="layui-input-block">
                <input type="text" name="points_limit" class="layui-input" autocomplete="off" lay-verify="required"
                       placeholder="请输入积分限制" value="{$income_num|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">当前店铺积分</label>
            <div class="layui-input-block">
                <input type="text" name="shop_code" class="layui-input" autocomplete="off" lay-verify="required"
                       placeholder="" value="{$num|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">需要结算积分</label>
            <div class="layui-input-block">
                <input type="text" name="shop_code" class="layui-input" autocomplete="off" lay-verify="required"
                       placeholder="" value="{$num3|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">不可结算积分</label>
            <div class="layui-input-block">
                <input type="text" name="shop_code" class="layui-input" autocomplete="off" lay-verify="required"
                       placeholder="" value="{$num2|default=''}" disabled>
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <div id="settlement" class="layui-btn layui-btn-normal layui-btn-sm">结算</div>
            <a href="export?id={$row.id}" class="layui-btn layui-btn-green layui-btn-sm">结算明细</a>
        </div>
    </form>
</div>

<script>
    var id = '{$row.id}';
</script>